//
//  MJTDiscoverTableViewController.swift
//  swiftWeiBo
//
//  Created by MJT on 16/7/9.
//  Copyright © 2016年 MJT. All rights reserved.
//

import UIKit

class MJTDiscoverTableViewController: MJTVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        if isLogin {

        } else {
            vistorView?.updateVisitorViewInfo("登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过", imageName: "visitordiscover_image_message")
        }
        setupUI()
    }
    private func setupUI() {
        let searchView = myView.searchView()
        //设置xib的宽度
        searchView.width = self.view.width
        navigationItem.titleView = searchView
        tabBarItem.badgeValue = "呵呵"

    }

}
